/* 公共变量 */

// 多边形
// width: 20px;
// height: 20px;
// background: red;
// -webkit-clip-path: polygon(0 0,20px 0,20px 20px );
// clip-path: polygon(0 0,20px 0,20px 20px);

// 全局主色调
$main-color: #07ACCA;

/* 内边距变量 */
$pad:30px;

/* 外边距变量 */
$margin:30px;

/* 省略1行,2行,3行 */
.ellipsis-1,
.ellipsis-2,.ellipsis-3 {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ellipsis-1 {
	-webkit-line-clamp: 1;
}
.ellipsis-2 {
	-webkit-line-clamp: 2;
}
.ellipsis-3{
	-webkit-line-clamp: 3;
}

/* 圆角 */
.b-r-10{
	border-radius: 10px;
}
.b-r-20{
	border-radius: 20px;
}
.b-r-circle{
	border-radius: 50%;
}

/* 占满宽度  */
.flex-1{
	flex: 1;
}

/* 行布局 两端对齐 */
.d-space-row {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

/* 列布局 两端对齐 */
.d-space-column {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
}

/* 行布局 居中对齐 */
.d-center-row {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

/* 列布局 居中对齐 */
.d-center-column {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

/* 行布局 均分 */
.d-around-row {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: center;
}

/* 列布局 两端对齐 */
.d-around-column {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	align-items: center;
}

/* 上边距 */
.p-top{
	box-sizing: border-box;
	padding-top: $pad;
}

/* 下边距 */
.p-bottom{
	box-sizing: border-box;
	padding-bottom: $pad;
}

/* 左边距 */
.p-left{
	box-sizing: border-box;
	padding-left: $pad;
}

/* 右边距 */
.p-right{
	box-sizing: border-box;
	padding-right: $pad;
}

/* 上下 内边距 */
.p-top-bottom {
	box-sizing: border-box;
	padding: $pad 0;
}

/* 左右 内边距 */
.p-left-right {
	box-sizing: border-box;
	padding: 0 $pad;
}

/* 四面 内边距 */
.p-all {
	box-sizing: border-box;
	padding: $pad;
}

/* 上边距 */
.m-top{
	margin-top: $margin;
}

/* 下边距 */
.m-bottom{
	margin-bottom: $margin;
}

/* 左边距 */
.m-left{
	margin-left: $margin;
}

/* 右边距 */
.m-right{
	margin-right: $margin;
}

/* 上下 外边距 */
.m-top-bottom {
	margin: $margin 0;
}

/* 左右 外边距 */
.m-left-right {
	margin: 0 $margin;
}

/* 四面 外边距 */
.m-all {
	margin: $margin;
}

/* 行间距 */
.dis-10 {
	width: 100%;
	height: 10px;
}

.dis-20 {
	width: 100%;
	height: 20px;
}

.dis-40 {
	width: 100%;
	height: 40px;
}

.dis-60 {
	width: 100%;
	height: 60px;
}

.dis-80 {
	width: 100%;
	height: 80px;
}

/* 背景图片 */
.max-bg {
	
	/*图像的平铺模式*/
	background-repeat: no-repeat !important;
	
	/*背景图像扩展至足够大（center、cover、100%等）*/
	background-size: 100% 100% !important;
	
	/*背景图像的起始位置（center、100%）*/
	background-position: 100% 100% !important;
}

/* hover中间往两边下划线过渡 */
.underline {
	position: relative;
	
	&::after{
		content: "";
		width: 0;
		height: 5px;
		background: blue;
		position: absolute;
		top: 100%;
		left: 50%;
		transition: all .8s;
	}
	&:hover:after{
		left: 0%;
		width: 100%;
	}
}

.underline-title{
	position: relative;
	
	&:after {
		content: '';
		width: 0;
		height: 0;
		border-bottom: 4px solid #e00f00;
		position: absolute;
		left: 50%;
		bottom: 0;
		transform: translateX(-50%);
		transition: .3s;
	}
}
.underline-title-active{
	&:after {
		width: 50%;
	}
}

.full-img{
	width: 100%;
	height: 100%;
}

.border-bottom{
	width:100%;
	height:1px;
	background:#F8F8F8;
}

// 字体大小
.f-60 {
  font-size: 60px;
}
.f-58 {
  font-size: 58px;
}
.f-56 {
  font-size: 56px;
}
.f-54 {
  font-size: 54px;
}
.f-52 {
  font-size: 52px;
}
.f-52 {
  font-size: 52px;
}
.f-50 {
  font-size: 50px;
}
.f-48 {
  font-size: 48px;
}
.f-46 {
  font-size: 46px;
}
.f-44 {
  font-size: 44px;
}
.f-42 {
  font-size: 42px;
}
.f-40 {
  font-size: 40px;
}
.f-38 {
  font-size: 38px;
}
.f-36 {
  font-size: 36px;
}
.f-34 {
  font-size: 34px;
}
.f-32 {
  font-size: 32px;
}
.f-30 {
  font-size: 30px;
}
.f-28 {
  font-size: 28px;
}
.f-26 {
  font-size: 26px;
}
.f-24 {
  font-size: 24px;
}
.f-22 {
  font-size: 22px;
}
.f-20 {
  font-size: 20px;
}
// 字体宽度
.f-n{
  font-weight: 400;
}
.f-w {
  font-weight: 700;
}
// 字体颜色
.col-f {
  color: #fff;
}
.col-0{
	color: #000;
}
.col-g{
	color: #999;
}
.col-main{
	color: $main-color;
}

// 背景色
.bg-f{
	background: #fff;
}
.bg-0{
	background: #000;
}
.bg-g{
	background: #F8F8F8;
}
.bg-main{
	background: $main-color;
}

// 遮罩层
.my-mask{
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 99;
}
// 文字竖排
.vertical-font{
	writing-mode: vertical-rl;
	// 英文
	text-orientation:upright;
}

// 按钮
.my-btn{
	width: 660px;
	height: 80px;
	border-radius: 40px;
	text-align: center;
	color: #FFFFFF;
	background-color: $main-color;
	display: flex;
	justify-content: center;
	align-items: center;
}
// 标题线条
.title-line {
	width: 6px;
	height: 30px;
	background-color: $main-color;
	border-radius: 4px;
}

// 固定底部
.fixed-bottom{
	position: fixed;
	bottom: 0;
	width: 100%;
	height: 100px;
	background: #FFFFFF;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9;
}

// 验证码
.verify-code{
	width: 178px;
	height: 57px;
	background: #E9E9EB;
	border-radius: 28px;
	display: flex;
	justify-content: center;
	align-items: center;
}


